package com.mine.mybatis.test;

import com.mine.mybatis.test.store.TaoBao;
import com.mine.mybatis.test.store.WeiShang;

public class ShopMain {

    public static void main(String[] args) {
        TaoBao taoBao = new TaoBao();
        float price = taoBao.sell(1);
        System.out.println("通过淘宝购买的单价为:"+price);


        WeiShang weiShang = new WeiShang();
        float price2 = weiShang.sell(1);
        System.out.println("通过微商购买的单价为:"+price2);
    }
}
